﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Slwy.Data.Entity.Attributes
{
    [AttributeUsage(AttributeTargets.Class, Inherited = true)]
    public class TableInfoAttribute : Attribute
    {
        /// <summary>
        /// 是否分表
        /// </summary>
        public bool IsPart { get; set; } = false;

        /// <summary>
        /// 分表开始时间
        /// </summary>
        public string PartBeginTime { get; set; }
    }
}
